import { createApp } from 'vue'
import App from './App.vue'

const app = createApp(App)

import '@/styles/index.scss'
// 特别注意Message消息提示组件需要单独引入样式
import 'element-plus/es/components/message/style/css'

// pinia
import store from '@/stores/index'
app.use(store)

// 注册路由
import router from './router'
app.use(router)

// 引入全局方法
import * as utils from '@/utils'
app.config.globalProperties.$utils = utils

//svg插件需要配置代码
import 'virtual:svg-icons-register'

app.mount('#app')
